package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.FileModel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 提成对象 sys_push_money
 * 
 * @author paul
 * @date 2023-06-25
 */
public class SysPushMoney extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 投资总额 */
    @Excel(name = "投资总额")
    private BigDecimal investorMoney;

    /** 提成金额 */
    @Excel(name = "提成金额")
    private BigDecimal pushMoney;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long createUserid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long updateUserid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setInvestorMoney(BigDecimal investorMoney) 
    {
        this.investorMoney = investorMoney;
    }

    public BigDecimal getInvestorMoney() 
    {
        return investorMoney;
    }
    public void setPushMoney(BigDecimal pushMoney) 
    {
        this.pushMoney = pushMoney;
    }

    public BigDecimal getPushMoney() 
    {
        return pushMoney;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("investorMoney", getInvestorMoney())
            .append("pushMoney", getPushMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUserid", getCreateUserid())
            .append("updateUserid", getUpdateUserid())
            .toString();
    }
}
